package xgenerator.generators.jgenerator;

import xgenerator.model.ModelMetadata;

/**
 * <p>
 * Title:HibernateGenerator
 * </p>
 * <p>
 * Description:具体功能见各方法描述
 * </p>
 * <p>
 * Copyright:Copyright (c) 2012
 * </p>
 * 
 * @author <a href="mailto:lishushan@gmail.com">liss</a>
 * @version 1.0
 */
public interface HibernateGenerator extends DaoGenerator {

	/*
	 * xml配置文件
	 */
	public static final String HIBERNATE_CONFIG_PREFIX = "hibernate.cfg";
	public static final String ENTITY_CONFIG_SUFFER = ".hbm";
	
	public String generateEntityCode(ModelMetadata modelMetadata);
	public String generateEntityConfigCode(ModelMetadata modelMetadata);

}
